package com.lianzai.shop.service.impl;

import com.lianzai.shop.dao.OrderDao;
import com.lianzai.shop.model.Shop;
import com.lianzai.shop.model.TicketOrderDO;
import com.lianzai.shop.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderServiceImpl implements OrderService {
	@Autowired
	private OrderDao orderDao;

	@Override
	public List<Shop> list(Map<String, Object> map){
		return orderDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderDao.count(map);
	}

	@Override
	public List<Map<String, Object>> minuteList(){
		return orderDao.minuteList();
	}

	@Override
	public int add(TicketOrderDO ticketOrderDO)
	{
		return orderDao.add(ticketOrderDO);
	}


}
